# Create library
add_library(${PROJECT_NAME}_lib
    example.cpp
)

target_include_directories(${PROJECT_NAME}_lib PUBLIC
    ${PROJECT_SOURCE_DIR}/include
)

# Create executable (if needed)
add_executable(${PROJECT_NAME}_app
    main.cpp
)

target_link_libraries(${PROJECT_NAME}_app PRIVATE
    ${PROJECT_NAME}_lib
)

# Set executable output name
set_target_properties(${PROJECT_NAME}_app PROPERTIES
    OUTPUT_NAME ${PROJECT_NAME}
)

